package com.woniuxy.cardservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.carddao.model.CountCard;
import com.woniuxy.model.dto.CountCardDto;
import com.woniuxy.model.form.AddCountCardForm;
import com.woniuxy.model.form.UpdateCountCardForm;

import java.util.List;

/**
 * <p>
 * 次卡会员表 服务类
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
public interface CountCardService extends IService<CountCard> {

    CountCardDto addCountCard(AddCountCardForm form, Integer venueId);

    void disabledCountCard(Integer cardId, Integer venueId);

    void enableCountCard(Integer cardId, Integer venueId);

    List<CountCardDto> findByVenueId(Integer venueId);

    CountCardDto findById(Integer cardId);

    void updateCountCard(UpdateCountCardForm form, Integer venueId);
}
